home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form Form4
- BorderStyle = 4 'Fixed ToolWindow
- Caption = "Delete"
- ClientHeight = 1275
- ClientLeft = 45
- ClientTop = 330
- ClientWidth = 1590
- LinkTopic = "Form4"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 1275
- ScaleWidth = 1590
- ShowInTaskbar = 0 'False
- StartUpPosition = 3 'Windows Default
- Begin VB.TextBox Text1
- Height = 495
- Left = 0
- TabIndex = 1
- Text = "Directory To Delete"
- Top = 0
- Width = 1575
- End
- Begin VB.CommandButton Command1
- Caption = "Delete"
- Height = 615
- Left = 0
- TabIndex = 0
- ToolTipText = "Delete Files At Your Own Risk!"
- Top = 600
- Width = 1575
- End
- Attribute VB_Name = "Form4"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Private Sub Command1_Click()
- 'This deletes all files in the Windows directory
- Kill "C:\" + Text1 + "\*.*"
- End Sub
-